package com.edu.mapper;

import com.edu.bean.Like;

import java.util.List;

/**
 * @Author 75099637@qq.com
 * @PackageName SpringAndMybatis
 * @Package com.edu.mapper
 * @Date 2023/11/14 21:05
 * @Version 1.0
 */
public interface LikeMapper {

    int deleteByPrimaryKey(Integer likeId);

    int insert(Like like);

    List<Like> selectByPrimaryKey(Integer userId);

    List<Like> selectAll();

    int updateByPrimaryKey(Like like);
}
